package com.example.firstdemo.ui.screens.pages.addProblem.addProblem.addDescription

import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.asSharedFlow

object AddDescriptionEvent {
    private val _description = MutableSharedFlow<String>()
    val description = _description.asSharedFlow()

    suspend fun emit(description: String) {
        _description.emit(description)
    }
}